package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.CumOrderListDao;
import com.lphj.datainterface.entity.CumOrderList;
import com.lphj.datainterface.service.CumOrderListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CumOrderListServiceImpl implements CumOrderListService {

    @Autowired
    CumOrderListDao cumOrderListDao;

    @Override
    public int addCumOrderList(CumOrderList cumOrderList) {
        return cumOrderListDao.AddCumOrderList(cumOrderList);
    }

    @Override
    public void callTL_GenerationOrder(String userName) {
        cumOrderListDao.CallTL_GenerationOrder(userName);
    }
}
